package com.teaching.teachingsupport.common.pojo.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("semester")
public class Semester {
    @TableId(type = IdType.AUTO)
    private Long semesterId;
    
    @TableField("start_year")
    private Integer startYear;
    
    @TableField("end_year")
    private Integer endYear;
    
    @TableField("term")
    private String term;
    
    @TableField("start_date")
    private LocalDate startDate;
    
    @TableField("end_date")
    private LocalDate endDate;
    
    @TableField("term_name")
    private String termName;
    
    @TableField("is_current")
    private Integer isCurrent;
    
    @TableField(exist = false)
    private String creatorName;
} 